<div class="ym-grid">
 	<div class="ym-g33 ym-gl">
    	<div class="ym-gbox">
			<h4>News</h4>
			<table>
			<% @notes.each do |note| %>
	     		<tr>
			    	<td><%= note.name %></td>
			</tr>	
                        <% end %>
			</table>
    	</div>
  	</div>
  	<div class="ym-g66 ym-gr">
		<div class="ym-gbox">
			<h4>letzte Aktionen...</h4>
			<table>
     			<% @events.each do |event| %>
					<tr>
						<td><span class="label"><%=time_ago_in_words(event.created_at) %></span></td>
		    			<td><%=sanitize raw event.data %></td>
		 			</tr>	
				<% end %>
			</table>
		</div>
	</div>
</div>
